﻿using JT808.Protocol.Interfaces;
using JT808.Protocol.Extensions.JTActiveSafety.MessageBody;

namespace JTActiveSafety.Gateway.Sessions
{
    /// <summary>
    /// 
    /// </summary>
    public class JT808_JTActiveSafety_Config : GlobalConfigBase
    {
        //public override string ConfigId { get; protected set; } = "JT808_JTActiveSafety_Config";
        /// <summary>
        /// 
        /// </summary>
        public override string ConfigId { get; protected set; } = "JT808_JTActiveSafety_Config";
        /// <summary>
        /// 
        /// </summary>
        /// <param name="configId"></param>
        public JT808_JTActiveSafety_Config(string configId = "Default")
        {
            ConfigId = configId;
            FormatterFactory.SetMap<JT808_0x1210>();
            FormatterFactory.SetMap<JT808_0x1211>();
            FormatterFactory.SetMap<JT808_0x1212>();
        }
    }
}
